package com.auroramanito.uaa.exception;

import com.auroramanito.uaa.config.Constants;
import org.zalando.problem.AbstractThrowableProblem;
import org.zalando.problem.Status;

import java.net.URI;

public class InvalidTotpProblem extends AbstractThrowableProblem {
    private static final URI TYPE = URI.create(Constants.PROBLEM_BASE_URI + "/user-Invalid-Totp");

    public InvalidTotpProblem() {
        super(TYPE,"非法的验证", Status.UNAUTHORIZED,"验证服务出错，请联系管理员");
    }
}
